<%@ Page Language="C#" MasterPageFile="~/SFMaster.master" AutoEventWireup="true"
    CodeFile="searchResults.aspx.cs" Inherits="searchResults" Title="Untitled Page" %>

<%@ Register Assembly="WebControls" Namespace="WebControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderArchive" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="Server">
    <table width="100%">
    <tr>
        <td>
           <cc1:SFTextBox ID=txtSearch runat=server MaxLength=200 Width=120px></cc1:SFTextBox>
                            <cc1:SFButton ID=btnSearch runat=server IsMasterPageControl=true OnClick="btnSearch_Click"></cc1:SFButton>
        </td>
    </tr>
    <tr>
        <td>
            <cc1:SFCheckBox ID=chkSearchAllLanguages runat=server />
            <cc1:SFCheckBox ID=chkSearchExactMatches runat=server />
        </td>
    </tr>
    <tr>
        <td>
            <br /><br /><br />
        </td>
    </tr>
        <cc1:SFRepeater ID="sfrSearchResults" runat="server" OnNeedsDataSource="sfrSearchResults_NeedsDataSource">
            <ItemTemplate>
                <tr>
                    <td valign=middle>
                        <img src='<%#GetImageUrl(DataBinder.Eval(Container.DataItem,"CONTENT")) %>' runat=server width=24 height=24 />
                        <%#DataBinder.Eval(Container.DataItem,"RowNumber")%>. 
                        <a href='<%#GenerateUrl(DataBinder.Eval(Container.DataItem,"SearchResultAddress"),DataBinder.Eval(Container.DataItem,"ID")) %>' runat=server>
                        <%#DataBinder.Eval(Container.DataItem,"Header")%>
                        </a>
                        <%#DataBinder.Eval(Container.DataItem,"Point")%><cc1:SFLabel ID=lblPoint runat=server></cc1:SFLabel>
                    </td>
                </tr>
            </ItemTemplate>
        </cc1:SFRepeater>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderEdit" runat="Server">
</asp:Content>
